﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="HealthVisitPlanDetailSrhForm.aspx.cs" Inherits="App_Input_HealthVisitPlanDetailSrhForm" Title="家访信息维护"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    &nbsp;<table width="100%">
            <tr>
                <td>
                    <table class="table_border_line">
                        <tr>
                            <td align="left" colspan="6" >
                            <script language="javascript">
                                        (new TitleBar('SearchBar', '会员基本信息')).showBar();
                            </script>
                            </td>
                        </tr>
                    </table>
                    <table class="table_border_line" style="background:ffffff">
                    <tr>
                        <td style="width: 5px; height: 24px"></td>
                        <td align="left" style="width: 20%; white-space: nowrap; height: 24px">保健医生编号：</td>
                        <td align="left" style="width: 25%; height: 24px">&nbsp;<asp:Label ID="lblDocId"
                            runat="server" Text=""></asp:Label></td>
                        <td align="left" style="width: 20%; height: 24px"></td>
                        <td align="left" style="width: 25%; height: 24px"></td>
                        <td style="height: 24px"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px;"></td>
                        <td align="left" style="width: 20%; white-space: nowrap; height: 24px;">会员编号：</td>
                        <td align="left" style="width: 25%; height: 24px">&nbsp;<asp:Label ID="lblMemId"
                            runat="server" Text=""></asp:Label></td>
                        <td align="left" style="height: 24px"></td>
                        <td align="left" style="height: 24px"></td>
                        <td style="height: 24px;"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px;"></td>
                        <td align="left" style="width: 120px; white-space: nowrap; height: 24px">会员姓名：</td>
                        <td align="left" style="height: 24px">&nbsp;<asp:Label ID="lblMemName" runat="server"
                            Text=""></asp:Label></td>
                        <td align="left" style="height: 24px">&nbsp;会员性别：</td>
                        <td align="left" style="height: 24px">
                            <asp:Label ID="lblMemSex" runat="server" Text=""></asp:Label></td>
                        <td style="height: 24px;"></td>
                    </tr>
                    <tr>
                        <td style="width: 5px; height: 24px;"></td>
                        <td align="left" style="width: 120px; white-space: nowrap; height: 24px">房间编号：</td>
                        <td align="left" style="height: 24px">&nbsp;<asp:Label ID="lblRoomNo" runat="server"
                            Text=""></asp:Label></td>
                        <td align="left" style="height: 24px">&nbsp;联系电话：</td>
                        <td align="left" style="height: 24px">
                            <asp:Label ID="lblMemTel" runat="server" Text=""></asp:Label></td>
                        <td style="height: 24px;"></td>
                    </tr>
                    </table>
                </td>
            </tr>
        </table>
	
    <div id="tableResult">
        <table width="100%">
            <tr>
                <td align="left" >
                <script language="javascript">
                                        (new TitleBar('SearchBar1', '家访过程信息列表')).showBar();
                            </script>
                </td>
            </tr>
            <tr>
                <td>                    
                    <asp:GridView ID="viewSrhRst" runat="server" AllowPaging="True"
                        AutoGenerateColumns="False" CssClass="GridView_table" DataKeyNames="VisitingId,MemberNo"
                        OnRowCommand="viewSrhRst_RowCommand" OnPageIndexChanging="viewSrhRst_PageIndexChanging"
                        OnRowDataBound="viewSrhRst_RowDataBound" BorderStyle="Solid" BorderWidth="3px" EnableViewState="False">
                        <Columns>
                            <asp:BoundField HeaderText="详细编号" DataField="VisitingId" Visible = false>
                                <HeaderStyle Width="2%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_left" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="预约日期" DataField="BespokeDate" DataFormatString="{0:yyyy/MM/dd}" HtmlEncode="False">
                                <HeaderStyle Width="15%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="实际家访日期" DataField="FactDate" DataFormatString="{0:yyyy/MM/dd}" HtmlEncode="False">
                                <HeaderStyle Width="15%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                            
                            <asp:BoundField HeaderText="家访类型" DataField="VisitingTypeC" >
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="家访级别" DataField="VisitingLevelC" >
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>                            
                            <asp:BoundField HeaderText="计划状况" DataField="VisitingFlg" >
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:ButtonField ButtonType="Image" CommandName="Details" HeaderText="详细"
                                ImageUrl="~/images/info.gif">
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="5%" CssClass="GridView_head_grayblue" />
                            </asp:ButtonField>
                        </Columns>
                        <PagerSettings Mode="NumericFirstLast" />
                        <PagerStyle HorizontalAlign="Right" />
                    </asp:GridView>
                    
                </td>
            </tr>
        </table>
    </div>
    
    <table width="100%">
        <tr>
                        <td align="center" style="">                                                        
                            <asp:Button ID="btnBack" runat="server" Text="  返 回  " CssClass="button" Height="22px" OnClick="btnBack_Click"/>
                        </td>
                    </tr>        
        </table>
</asp:Content>
